package com.CST.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 收入实体类
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class EtlInComeSource {
    private Long id;

    @ApiModelProperty(value = "收费时间")
    private LocalDateTime operDtime;

    @ApiModelProperty(value = "项目代码")
    private String incomeCode;

    @ApiModelProperty(value = "项目名称")
    private String incomeName;

    @ApiModelProperty(value = "费用编码")
    private String feeCode;

    @ApiModelProperty(value = "费用名称")
    private String feeName;

    @ApiModelProperty(value = "单价")
    private BigDecimal unitPrice;

    @ApiModelProperty(value = "数量")
    private Double qty;

    @ApiModelProperty(value = "数量")
    private Integer days;

    @ApiModelProperty(value = "库房编码")
    private String stockCode;

    @ApiModelProperty(value = "病人名称")
    private String patientName;

    @ApiModelProperty(value = "开单医生编码")
    private String docNo;

    @ApiModelProperty(value = "开单医生名称")
    private String docName;

    @ApiModelProperty(value = "开单科室编码")
    private String billDeptCode;

    @ApiModelProperty(value = "开单科室名称")
    private String billDeptName;

    @ApiModelProperty(value = "执行科室编号")
    private String executiveDeptCode;

    @ApiModelProperty(value = "执行科室名称")
    private String executiveDeptName;

    @ApiModelProperty(value = "病区号")
    private String nurseCellCode;

    @ApiModelProperty(value = "院区")
    private String yard;

    @ApiModelProperty(value = "抽取时间")
    private LocalDateTime etlTime;

    @ApiModelProperty(value = "收入类型")
    private String incomeType;
}
